<Select DefaultValue=@("lucy") Style="width:120px" OnChange="OnChange">
    <SelectOption Value="jack">Jack</SelectOption>
    <SelectOption Value="lucy">Lucy</SelectOption>
    <SelectOption Value="disabled" Disabled>Disabled</SelectOption>
    <SelectOption Value="yaoming">YaoMing</SelectOption>
</Select>
<Select DefaultValue=@("lucy") Style="width:120px" Disabled>
    <SelectOption Value="lucy">Lucy</SelectOption>
</Select>
<Select DefaultValue=@("lucy") Style="width:120px" Loading>
    <SelectOption Value="lucy">Lucy</SelectOption>
</Select>
<Select DefaultValue=@("lucy") Style="width:120px" AllowClear>
    <SelectOption Value="lucy">Lucy</SelectOption>
</Select>

@using OneOf;
@code
{
    private void OnChange(OneOf<string, IEnumerable<string>, LabeledValue, IEnumerable<LabeledValue>> value, OneOf<SelectOption, IEnumerable<SelectOption>> option)
    {
        Console.WriteLine($"selected: ${value}");
    }
}
